export default (state) => {
    let num = Number(state);
    if (isNaN(num)) {
        return '未知'    
    }
    switch(num) {
        case 2:
            return '待付款';
        case 3:
            return '待发货';
        case 4:
            return '待收货';
        case 5:
            return '待评论';
        case 10:
            return '已完成';
    }
    return '未知';
}